#ifndef CUVDATA_H
#define CUVDATA_H

#include "CFileManager.h"
#include <assert.h>

class CUVData : public CFileManager 
{
private:
	int m_nUVlightoption;
	int m_nProductquantity;
	int m_nMaximumsizedeviation;
	int m_nUVRangelimitoption;
	int m_nMaximumlimit;
	int m_nMinimumlimit;

public:

	CUVData(CString strFileName, CString strPath);

	CUVData(CString strFileName);

	virtual~CUVData();


	int ReadUVData();    
    int WriteUVData();

	void SetUVlightOption(int nUVlightoptin)				{m_nUVlightoption = nUVlightoptin;}
	void SetProductQuantity(int nProductquantity)			{m_nProductquantity = nProductquantity;}
	void SetMaximumSizeDeviation(int nMaximumsizedeviation)	{m_nMaximumsizedeviation= nMaximumsizedeviation;}
	void SetUVRangeLimitOption(int nUVRangelimitoption)		{m_nUVRangelimitoption = nUVRangelimitoption;}
	void SetMaximumLimit(int nMaximumlimit)					{m_nMaximumlimit = nMaximumlimit;}
	void SetMinimumLimit(int nMinimumlimit)					{m_nMinimumlimit = nMinimumlimit;}

	int	GetUVlightOption()			{return m_nUVlightoption;}
	int GetProductQuantity()		{return m_nProductquantity;}
	int GetMaximumSizeDeviation()	{return m_nMaximumsizedeviation;}
	int GetUVRangeLimitOption()		{return m_nUVRangelimitoption;}
	int GetMaximumLimit()			{return m_nMaximumlimit;}
	int GetMinimumLimit()			{return m_nMinimumlimit;}
};

#endif // !defined(AFX_UVDATA_H__A9225631_52BC_4517_877A_7FBFBB426CDD__INCLUDED_)
